﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserEdit.aspx.cs" Inherits="CRMSystemV2.Web.Sys.UserEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>    
</head>
<body>
    <div class="pageContent">
        <form method="post" action="/CRMSystemService.asmx/UserUpdate" class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone);">
        <div class="pageFormContent" layouth="56">
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <p>
                        <label>
                            编号：</label>
                        <input name="id" type="text" size="30" value='<%#Eval("id") %>' readonly="readonly" />
                    </p>
                    <p>
                        <label>
                            用户名：</label>
                        <input name="username" readonly="readonly" type="text" size="30" value='<%#Eval("username") %>'/>
                    </p>
                    <p>
                        <label>
                            工号：</label>
                        <input name="jobno" type="text" size="30" value='<%#Eval("jobno") %>' />
                    </p>
                    <p>
                        <label>
                            邮箱：</label>
                        <input name="email" type="text" size="30" value='<%#Eval("email") %>' class="email"/>
                    </p>
                    <p>
                        <label>
                            联系电话：</label>
                        <input name="phone" type="text" size="30" value='<%#Eval("phone") %>' class="phone" />
                    </p>
                    <p>
                        <label>
                            是否可用：</label>
                        <%--<input name="isenable" type="checkbox" checked='<%#Eval("isenable").ToString().ToLower()=="true"?"checked":"" %>' value='<%#Eval("isenable")%>' />--%>
                        <label><input type="radio" name="isenable" value="1" <%#Eval("isenable").ToString().ToLower()=="true"?"checked='checked'":"" %> />是
                        &nbsp;&nbsp;<input type="radio" name="isenable" value="0" <%#Eval("isenable").ToString().ToLower()=="false"?"checked='checked'":"" %>/>否</label>
                    </p>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                保存</button></div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">
                                取消</button></div>
                    </div>
                </li>
            </ul>
        </div>
        </form>
    </div>
</body>
</html>
